package com.rightsidetech.activity.dto.request.ride;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class VerifyRideActReq implements Serializable {

    @NotNull(message = "id不可为空")
    private Long id;

    @ApiModelProperty("审核类型 0-驳回 1-通过")
    @NotNull(message = "审核类型不允许为空")
    @Range(min = 0,max = 1,message = "审核类型只有0和1")
    private Byte verify;

    @ApiModelProperty("备注")
    private String remark;

}
